package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class StatsBean implements Serializable,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5523762261218832969L;
	private int day ;
	private int month ;
	private int week ;
	public int getDay() {
		return day;
	}
	public int getMonth() {
		return month;
	}
	public int getWeek() {
		return week;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, StatsBean.class);
		}
		return null;
	}

}
